package cn.kgc.spring.day02.servlet;

import cn.kgc.spring.day02.service.UserService;

/**
 * @author 课工场
 * @date 2024/7/12
 * @description
 */
public class UserServlet {

    private UserService userService;


    public void setUserService(UserService userService){
        this.userService = userService;
    }

    public Boolean deleteUser(Integer id){
       return userService.deleteUser(id);
    }
}
